package com.infore.exchange.main.service.impl;

import com.infore.common.annotation.TargetDataSource;
import com.infore.common.model.entity.exchange.Services;
import com.infore.exchange.main.dao.ServicesMapper;
import com.infore.exchange.main.service.ServicesService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Hadoop集群服务实现类
 * </p>
 *
 * @author lijh
 * @since 2023-05-15
 */
@Service
@TargetDataSource("hadoopData")
public class ServicesServiceImpl extends ServiceImpl<ServicesMapper, Services> implements ServicesService {


    @Autowired
    private ServicesMapper servicesMapper;
    @Override
    public List<Map<String, Object>> queryServiceProcess() {
        List<Map<String, Object>> maps = servicesMapper.queryServiceProcess();
        return maps;
    }
}
